import request from '@/utils/request'

// 查询hrmanagement列表
export function listZrsglryda(query) {
  return request({
    url: '/hrmanagement/zrsglryda/list',
    method: 'get',
    params: query
  })
}

// 查询hrmanagement详细
export function getZrsglryda(id) {
  return request({
    url: '/hrmanagement/zrsglryda/' + id,
    method: 'get'
  })
}

// 新增hrmanagement
export function addZrsglryda(data) {
  return request({
    url: '/hrmanagement/zrsglryda',
    method: 'post',
    data: data
  })
}

// 修改hrmanagement
export function updateZrsglryda(data) {
  return request({
    url: '/hrmanagement/zrsglryda',
    method: 'put',
    data: data
  })
}

// 删除hrmanagement
export function delZrsglryda(id) {
  return request({
    url: '/hrmanagement/zrsglryda/' + id,
    method: 'delete'
  })
}



  // 获取所有用户
  export function getUserSelect() {
    return request({
      url: '/hrmanagement/zrsglryda/getUserSelect',
      method: 'get'
    })
  }
  